home *** CD-ROM | disk | FTP | other *** search
/ Alde ADA 5 #1 / ADA CD-ROM - Alde Publishing.iso / cm / grammar.sid < prev    next >
Encoding:
Text File  |  1988-05-03  |  4.7 KB  |  99 lines

  1. --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
  2. -- UNIT NAME         : HF-GRAMMAR
  3. -- VERSION           : 1.0
  4. -- REVIEW CODE       : 
  5. -- DDN ADDRESS       : HFischer@ECLB
  6. -- AUTHOR            : Herman Fischer
  7. --                   : Litton Data Systems
  8. --                   : 8000 Woodley Ave, ms 44-30
  9. --                   : Van Nuys, CA
  10. --                   : 818-902-5139
  11. --                   : G Fisher and P Charles
  12. -- COPYRIGHT         : (c) Herm Fischer 1984
  13. -- DATE CREATED      : 
  14. -- DATE RELEASED     : 15 Dec 84
  15. -- DATE LAST UPDATED : 26 Mar 84
  16. -- LOCATION          : ASR
  17. -- ENVIRONMENT       : UNIX
  18. --= CLASSIFICATION       ===============================================--
  19. -- CATEGORY LEVEL 1  : GRAMMAR
  20. -- CATEGORY LEVEL 2  : Ada Grammar 1
  21. -- CATEGORY LEVEL 3  : 
  22. -- CATEGORY LEVEL 4  : 
  23. -- KEYWORD           : Ada
  24. -- KEYWORD           : Grammar
  25. -- KEYWORD           : UNIX
  26. -- KEYWORD           : LALR
  27. -- KEYWORD           : LALR(1)
  28. -- KEYWORD           : YACC
  29. -- INDEX             : Grammar, Ada
  30. -- INDEX             : Ada Grammar
  31. -- INDEX             : LALR
  32. -- INDEX             : YACC
  33. -- TAXONOMY          : 
  34. -- DEPENDENCIES      : 
  35. -- SEE ALSO          : 
  36. --= FILE LISTING         ===============================================--
  37. -- FILE SPECS        : PD:<ADA.EXTERNAL-TOOLS>GRAMMAR.*
  38. -- DIRECTORY DISPLAY :
  39. -- Directory   PD:<ADA.EXTERNAL-TOOLS>
  40. --      File Name     Byte Count  Line Count
  41. --   ---------------  ----------  ----------
  42. --   GRAMMAR.PRO            7366         131
  43. --   GRAMMAR.SRC           45547        1846
  44. --   ===============  ==========  ==========
  45. --     2 Files             52913        1977
  46. --= ABSTRACT             ===============================================--
  47. --         This grammar is organized in the  same  order  as  the  syntax
  48. -- summary  in appendix E of the ANSI Ada Reference Manual.  All reserved
  49. -- words are written in  upper  case  letters.   The  lexical  categories
  50. -- numeric_literal,  string_literal,  etc,  are viewed as terminals.  The
  51. -- rules for pragmas as  stated  in  chapter  2,  section  8,  have  been
  52. -- incorporated in the grammar.  Comments are included wherever we had to
  53. -- deviate from the syntax given in appendix E.  Different  symbols  used
  54. -- here (to comply with yacc requirements) are of note:
  55. -- 
  56. --     {,something}    is denoted ...something..                 
  57. --     {something}    is denoted ..something..                 
  58. --     [something]    is denoted .something.                    
  59. -- 
  60. --         Constructs involving meta brackets, e.g., ...identifier..  are
  61. -- represented  by  a  nonterminal  formed by concatenating the construct
  62. -- symbols ( as ...identifier..  in the example) for which the rules  are
  63. -- given  at the end.  When reading this grammar, it is important to note
  64. -- that all symbols appearing in the rules are separated by one  or  more
  65. -- blanks.   A  string such as 'identifier_type_mark is actually a single
  66. -- nonterminal symbol defined at the end of the rules.  The '' symbol  is
  67. -- used  to  indicate  that the rest of the line is a comment, just as in
  68. -- yacc programs.
  69. -- 
  70. --         This grammar is presented here in a form suitable for input to
  71. -- a yacc parser generator.  It has been processed by the Bell System III
  72. -- lex/yacc combination, and tested against over 400 ACVC tests.
  73. --= REVISION HISTORY     ===============================================--
  74. --
  75. -- DATE         VERSION    AUTHOR                  HISTORY
  76. -- 12/15/84    1.0    Herman Fischer        Initial Release
  77. --= RELEASE NOTICE       ===============================================--
  78. -- This prologue must be included in all copies of this software.
  79. --
  80. -- This software is copyright by the author.
  81. --
  82. -- This software is released to the Ada community.
  83. -- This software is released to the Public Domain (note:
  84. --   software released to the Public Domain is not subject
  85. --   to copyright protection).
  86. -- Restrictions on use or distribution: See above for the author's
  87. --    requested restrictions; commercial use (ie, sale) prohibited
  88. --= DISCLAIMER           ===============================================--
  89. --     This software and its documentation are provided "AS IS" and
  90. -- without any expressed or implied warranties whatsoever.  No warranties
  91. -- as to performance, merchantability, or fitness for a particular
  92. -- purpose exist.
  93. --     The user is advised to test the software thoroughly before
  94. -- relying on it.  The user must assume the entire risk and liability of
  95. -- using this software.  In no event shall any person or organization of
  96. -- people be held responsible for any direct, indirect, consequential or
  97. -- inconsequential damages or lost profits.
  98. --======================================================================--
  99.